<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <title></title>
        <link rel="stylesheet" href="__STATICS__/css/admin/inner_base.css"/>
        <link rel="stylesheet" href="__STATICS__/css/admin/ui-dialog.css"/>
        <style type="text/css">
            #addModule {
                border: 1px solid #d0d0d0;
                margin-bottom: 20px;
            }
            h1 {
                font-size: 15px;padding: 10px 0px 10px 180px;
                border-bottom: 1px solid #d0d0d0;
                margin-bottom: 10px;background: #f6f6f6;
            }
        </style>
    </head>
    <body>
        <!--标题栏-->
        <div class="title_bar clearfix">
            <img class="title_bar_logo" style="" src="__STATICS__/images/home.png"/>
            <div id="bread_crumb" style="">&nbsp;编辑系统模块页面</div>
        </div>
        <div class="seperate_row"></div>
        <!--消息栏-->
        <div id="message_wraper" style="">
            <div id="message" class="tips">&nbsp;&nbsp;&nbsp;&nbsp;在这里添加平台商后台页面或者模块</div>
        </div>

        <div class="wraper">
            <div id="addModule" style=""> 
                <form >
                    <h1 >编辑信息</h1>
                    <div class="line_colum clearfix">
                        <span class="line_info">模块名称：</span>
                        <input type="text" id="privName" class="long_input" placeholder="模块名称"/>
                        <span class="info_tips">模块名称，必填</span>
                        <span class="must_wri">*</span>
                    </div>
                    <div class="line_colum clearfix">
                        <span class="line_info">唯一标识：</span>
                        <input type="text" id="privCode" class="long_input" placeholder="唯一标识"/>
                        <span class="info_tips">唯一标识，必填，且唯一</span>
                        <span class="must_wri">*</span>
                    </div>

                    <div class="line_colum clearfix">
                        
                        <span class="line_info">所属模块：</span>
                        <select id="pid" class="long_input">
                            <option class="option_0" value="0"> -- 无 -- </option>
                            <volist name="moduleListSelect" id="vo">
                            <option class="option_{$vo.privID}"
                                    value="{$vo.privID}" >{$vo.privName}</option>
                            </volist>
                        </select>
                        <span class="info_tips"></span>
                        <span class="must_wri">*</span>
                    </div>

                    <div class="img_line_colum clearfix">
                        <span class="line_info">&nbsp;</span>
                        <a href="javascript:void(0);" class="yellow_button" id="save"> <span>保存</span></a>
                       <a href="javascript:void(0);" class="yellow_button" id="cancel"> <span>取消</span></a>
                       <input type="hidden" id="privID" />
                    </div>

                </form>
                
            </div>
            <a href="javascript:void(0);" class="gray_button" title="" style="float: right;width:200px;"  onclick="javascript:synchron2Mem();"><span>同步权限到memcached</span></a>
            <button class="yellow_button"  onclick="javascript:editModule(-1);"><span>添加</span></button>
            <form name="query" method="POST">
                <div class="form_out" style="">
                    <div class="clearfix form_in" style="">
                        <div class="form_block" style=""></div>
                        <div class="form_info">查询条件：</div>
                        <input type="text" class="form_top_input"  style="width: 150px;"
                               name="searchPid" value="{$Think.post.searchPid}"  placeholder=" 输入所属模块/页面 id" />
                        <div class="form_block" style=""></div>
                        <button type="submit" class="yellow_button"><span>确定</span></button>
                    </div>
                </div>
            </form>
            <!--表格--表头栏-->
            <div class="seperate_row" style="clear:both"></div>
            <table>
                <thead>
                    <tr>
                        <th>编号</th>
                        <th>名称</th>
                        <th>唯一标识</th>
                        <th>pid</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <!--表格--数据行-->
                    <volist name="moduleList" id="vo">
                    <tr>
                        <td>{$vo.privID}</td>
                        <td>{$vo.privName}</td>
                        <td>{$vo.privCode}</td>
                        <td>{$vo.pid}</td>
                        <td class="blue" ><a href="javascript:editModule({$vo.privID});" class="blue move_look">修改</a>/
                        <a href="javascript:deleteModule({$vo.privID});" class="blue move_look">删除</a>
                    </tr>
                    </volist>
                </tbody>
            </table>
            <!--include:./tpl/pageNum.php-->
            
<div class="seperate_row" style="clear:both"></div>
<div class="seperate_row" style="clear:both"></div>
        </div>

        <script src="__STATICS__/js/jquery1.11.1.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="__STATICS__/js/admin/public.js"></script>
        <script src="__STATICS__/js/admin/hzAjax.js" type="text/javascript"></script>
        <script src="__STATICS__/js/admin/editSysPriv_manage.js" type="text/javascript"></script>
        <script type="text/javascript" src="__STATICS__/js/admin/dialog-plus.js"></script>
    </body>
</html>
